home *** CD-ROM | disk | FTP | other *** search
- Path: news.mixcom.com!usenet
- From: elja.inc@mixcom.com (Mike McWhinney)
- Newsgroups: comp.lang.c
- Subject: Please help: need to read lines in text file
- Date: Mon, 01 Apr 1996 14:21:44 GMT
- Organization: MIX Communications
- Message-ID: <315fe5d1.1121568@news.mixcom.com>
- NNTP-Posting-Host: llggll.mixcom.com
- X-Newsreader: Forte Agent .99d/16.182
-
- Hello all,
-
- I am not an especially fluent C programmer, but need a short function
- to read the Nth line from a given ASCII/text file. The target
- platform is MS-DOS, and the compiler I have is Turbo C++, but
- shouldn't matter if it is portable C code.
-
- i.e. char *readline(char *filename, int n)
-
- Thanks
-
- Mike
-
-